package com.mcintyret.site.web.controller.journal.forms;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * User: mcintyret2
 * Date: 16/04/2012
 */
public class TimeseriesForm {

    static final int MAX_SIMPLE_TEXT_INPUT_SIZE = 255;

    @NotNull
    private Integer journalId;
    @NotNull
    @Size(max = MAX_SIMPLE_TEXT_INPUT_SIZE)
    private String name;
    @Size(max = MAX_SIMPLE_TEXT_INPUT_SIZE)
    private String description;

    public Integer getJournalId() {
        return journalId;
    }

    public void setJournalId(Integer journalId) {
        this.journalId = journalId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
